<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="author" content="二口丝连连二口，十八相与与十八">
    
    <meta name="description" content="一花一草一世界">
    
    
    
    
    
    
    <title>运用码云搭建hexo博客（详细） | Tlin Blog</title>
    <link href=”“ rel=”prefetch” />

    <link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/aos.css">
<link rel="stylesheet" href="/css/style.css">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/aos.js"></script>
    <script src="/js/highslide/highslide-full.min.js"></script>
    <link rel="stylesheet" href="/js/highslide/highslide.css">
    <style type="text/css">
        @media (max-width: 768px) {
            body {
                background-color: #f0f0f0;
                background: url('/imgs/xsbg.gif');
                background-attachment: fixed;
            }
        }
    </style>
    
    <!--<script type="text/javascript">
      if (document.images) {
        var avatar = new Image();
        avatar.src = '/imgs/avatar.jpg'
        var previews = 'preview1.jpg,preview2.jpg,preview3.jpg'.split(',')
        var previewsPreLoad = []
        for(var i = 0; i < length; i++) {
          previewsPreLoad.push(new Image())
          previewsPreLoad[previewsPreLoad.length - 1].src = '/imgs/preview' + previews[i]
        }
      }
    </script>-->
</head>
<body>
    <!-- 背景轮播图功能 -->
    <section class="hidden-xs">
    <ul class="cb-slideshow">
        <li><span>天若</span></li>
        <li><span>有情</span></li>
        <li><span>天亦老</span></li>
        <li><span>人间</span></li>
        <li><span>正道</span></li>
        <li><span>是沧桑</span></li>
    </ul>
</section>
    <!-- 欧尼酱功能, 谁用谁知道 -->
    
    <div class="gal-menu gal-dropdown">
    <div class="circle" id="gal">
        <div class="ring">
            <a href="/" class="menuItem" style="left: 50%; top: 15%;">首页</a>
            
            <a class="menuItem" style="left: 80.3109%; top: 32.5%;">下一页</a>
            
            <a href="/archives" class="menuItem" style="left: 80.3109%; top: 67.5%;">归档</a>
            <a href="javascript:window.location.reload()" class="menuItem" style="left: 50%; top: 85%;">刷新</a>
            <a href="/message" class="menuItem" style="left: 19.6891%; top: 67.5%;">留言板</a>
            
            <a class="menuItem" style="left: 19.6891%; top: 32.5%;">上一页</a>
            
            <a class="menuItem" style="left: 50%; top: 50%;">自动复制</a>
        </div>
        <!-- <audio id="audio" src="/imgs/oni.mp3"></audio> -->
    </div>
</div>
<script>
    // document.getElementById('copy').onclick=function(){
document.onmouseup=function(){
    var txt = window.getSelection?window.getSelection():document.selection.createRange().text;
    document.execCommand("Copy") 
}
    // }
</script>
    
    <header class="navbar navbar-inverse" id="gal-header">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed"
                    data-toggle="collapse" data-target=".bs-navbar-collapse"
                    aria-expanded="false">
                <span class="fa fa-lg fa-reorder"></span>
            </button>
            <a href="/">
                
                <style>
                    #gal-header .navbar-brand {
                        height: 54px;
                        line-height: 24px;
                        font-size: 28px;
                        opacity: 1;
                        background-color: rgba(0,0,0,0);
                        text-shadow: 0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #228DFF,0 0 35px #228DFF,0 0 40px #228DFF,0 0 50px #228DFF,0 0 75px #228DFF;
                    }
                </style>
                <!-- 这里使用文字(navbar_text or config.title) -->
                <div class="navbar-brand">Tlin</div>
                
            </a>
        </div>
        <div class="collapse navbar-collapse bs-navbar-collapse">
            <ul class="nav navbar-nav" id="menu-gal">
                
                
                <li class="">
                    <a href="/">
                        <i class="fa fa-home"></i>首页
                    </a>
                </li>
                
                
                
                <li class="">
                    <a href="/archives">
                        <i class="fa fa-archive"></i>归档
                    </a>
                </li>
                
                
                
                
                <li class="dropdown">
                    <!-- TODO 添加hover dropdown效果 -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false" data-hover="dropdown">
                        <i class="fa fa-list"></i>分类
                    </a>
                    <ul class="dropdown-menu">
                        
                        
                        <li>
                            <a href="/categories/音频-视频/">音频 视频</a>
                        </li>
                        
                        <li>
                            <a href="/categories/有趣小东西/">有趣小东西</a>
                        </li>
                        
                        <li>
                            <a href="/categories/hexo/">hexo</a>
                        </li>
                        
                        
                        <li>
                            <a href="/categories">...</a>
                        </li>
                        
                        
                    </ul>
                </li>
                
                
                
                
                
                <li class="dropdown">
                    <!-- TODO 添加hover dropdown效果 -->
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"
                       aria-haspopup="true" aria-expanded="false" data-hover="dropdown">
                        <i class="fa fa-tags"></i>标签
                    </a>
                    <ul class="dropdown-menu">
                        
                        
                        <li>
                            <a href="/tags/audio-video/">audio video</a>
                        </li>
                        
                        <li>
                            <a href="/tags/funny/">funny</a>
                        </li>
                        
                        <li>
                            <a href="/tags/hexo/">hexo</a>
                        </li>
                        
                        
                        <li>
                            <a href="/tags">...</a>
                        </li>
                        
                        
                    </ul>
                </li>
                
                
                
                
                <li class="">
                    <a href="/about">
                        <i class="fa fa-user"></i>关于我
                    </a>
                </li>
                
                
                
                <li class="">
                    <a href="/message">
                        <i class="fa fa-heart"></i>留言板
                    </a>
                </li>
                
                
            </ul>
        </div>
    </div>
</header>
    <div id="gal-body">
        <div class="container">
            <div class="row">
                <div class="col-md-8 gal-right" id="mainstay">
                    
<article class="article well article-body" id="article">
    <div class="breadcrumb">
        <i class="fa fa-home"></i>
        <a href="/">Tlin Blog</a>
        >
        <span>运用码云搭建hexo博客（详细）</span>
    </div>
    <!-- 大型设备详细文章 -->
    <div class="hidden-xs">
        <div class="title-article">
            <h1>
                <a href="/2019/03/05/hexo/hexo/">运用码云搭建hexo博客（详细）</a>
            </h1>
        </div>
        <div class="tag-article">
            
            <span class="label label-gal">
                <i class="fa fa-tags"></i>
                
                <a href="/tags/hexo/">hexo</a>
                
            </span>
            
            <span class="label label-gal">
                <i class="fa fa-calendar"></i> 2019-03-05
            </span>
            
        </div>
    </div>
    <!-- 小型设备详细文章 -->
    <div class="visible-xs">
        <center>
            <div class="title-article">
                <h4>
                    <a href="/2019/03/05/hexo/hexo/">运用码云搭建hexo博客（详细）</a>
                </h4>
            </div>
            <p>
                <i class="fa fa-calendar"></i> 2019-03-05
            </p>
            <p>
                
                <i class="fa fa-tags"></i>
                
                <a href="/tags/hexo/">hexo</a>
                
                
                
            </p>
        </center>
    </div>
    <div class="content-article">
        <h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p><strong>Hexo是一个轻量级的Node.js博客框架</strong><br><strong><em>hexo部署在码云跟部署在github差不多，选择码云不仅仅因为“码云”与“马云”同音；</em></strong><br><strong><em>轻量级，国内的仓库，运营速度快；</em></strong><br><strong><em>中文直观，对于个人来说很方便，同时也可同步仓库。</em></strong></p>
<h3 id="一、准备工作"><a href="#一、准备工作" class="headerlink" title="一、准备工作"></a>一、准备工作</h3><ul>
<li>1、首先你得有码云的账号。没有的点进去注册： <a href="https://gitee.com/" target="_blank" rel="noopener">https://gitee.com/</a></li>
<li>2、你还要安装Git 链接：<a href="https://www.git-scm.com/downloads" target="_blank" rel="noopener">https://www.git-scm.com/downloads</a></li>
<li>3、安装node.js 链接：<a href="https://nodejs.org/en/" target="_blank" rel="noopener">https://nodejs.org/en/</a></li>
<li>4、在CMD或右键Git Bash Here输入命令全局安装hexo：<code>npm install -g hexo-cli</code></li>
<li>5、安装好Git后建议：<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">全局配置用户名:git config --global user.name &quot;用户名，最好跟github上的一致&quot;</span><br><span class="line">全局配置邮箱:git config --global user.email &quot;邮箱如：123456@qq.com，要跟github上的一致&quot;</span><br><span class="line"></span><br><span class="line">查看用户名：git config user.name</span><br><span class="line">查看邮箱：git config user.email</span><br></pre></td></tr></table></figure>
</li>
</ul>
<h3 id="二、下载模板、预览"><a href="#二、下载模板、预览" class="headerlink" title="二、下载模板、预览"></a>二、下载模板、预览</h3><p>tips：最好新建一个文件夹，依次执行以下命令把模板下载里面</p>
<ul>
<li>1、<code>hexo init 项目名称</code><br>（初始化hexo。项目名称可不要，不要的话不生成项目的文件夹，要的话就生成一个项目文件夹，文件夹名就是项目名称）</li>
<li>2、进入下载模板的那个文件夹，右键git bash here，输入命令：<code>hexo g</code> (generate的缩写，生成，在根目录下生成一个public文件夹)</li>
<li>3、启动服务进行本地预览：<code>hexo s</code> (s即server)</li>
<li>4、在浏览器中输入：<code>localhost:4000</code>即可预览你的hexo，记住，千万别用IE打开，一个优秀的开发者就用优秀的浏览器打开（假装自己很优秀）</li>
<li><h5 id="具体步骤如下图"><a href="#具体步骤如下图" class="headerlink" title="具体步骤如下图 "></a>具体步骤如下图 <img src="/images/hexo/git1.png" alt=""><img src="/images/hexo/git2.png" alt=""><img src="/images/hexo/git3.png" alt=""><img src="/images/hexo/git4.png" alt=""></h5></li>
</ul>
<h3 id="三、部署到码云"><a href="#三、部署到码云" class="headerlink" title="三、部署到码云"></a>三、部署到码云</h3><ul>
<li><h5 id="1、创建。如图所示"><a href="#1、创建。如图所示" class="headerlink" title="1、创建。如图所示 "></a>1、创建。如图所示 <img src="/images/hexo/add.png" alt=""></h5></li>
<li><h5 id="2、注意看图"><a href="#2、注意看图" class="headerlink" title="2、注意看图 "></a>2、注意看图 <img src="/images/hexo/zhuyi.png" alt=""></h5><strong>此处注意：最好创建一个首页访问地址不带二级目录的 pages，这样可以避免很多hexo路径等等带来的问题。</strong><br><strong><em>码云官方文档：<a href="http://git.mydoc.io/?t=154714" target="_blank" rel="noopener">http://git.mydoc.io/?t=154714</a></em></strong></li>
<li><h5 id="3、修改配置文件：-config-yml-（注意：该全局配置文件是在根目录下，不是主题里面的！）"><a href="#3、修改配置文件：-config-yml-（注意：该全局配置文件是在根目录下，不是主题里面的！）" class="headerlink" title="3、修改配置文件：_config.yml （注意：该全局配置文件是在根目录下，不是主题里面的！）"></a>3、修改配置文件：_config.yml （注意：该全局配置文件是在根目录下，不是主题里面的！）</h5><h5 id="在最后加上以下代码-注意type、repo后有一个空格-："><a href="#在最后加上以下代码-注意type、repo后有一个空格-：" class="headerlink" title="在最后加上以下代码(注意type、repo后有一个空格)："></a>在最后加上以下代码(注意type、repo后有一个空格)：</h5></li>
</ul>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">deploy:</span><br><span class="line">    type: git</span><br><span class="line">    repo: https://gitee.com/tilin/tilin.git</span><br></pre></td></tr></table></figure>
<h5 id="安装一个包，右键git-bash-here：npm-i-hexo-deployer-git-save"><a href="#安装一个包，右键git-bash-here：npm-i-hexo-deployer-git-save" class="headerlink" title="安装一个包，右键git bash here：npm i hexo-deployer-git --save"></a>安装一个包，右键git bash here：<code>npm i hexo-deployer-git --save</code></h5><h5 id="repo后的链接就是你码云的链接，就是前面创建的那个仓库链接，如图："><a href="#repo后的链接就是你码云的链接，就是前面创建的那个仓库链接，如图：" class="headerlink" title="repo后的链接就是你码云的链接，就是前面创建的那个仓库链接，如图："></a>repo后的链接就是你码云的链接，就是前面创建的那个仓库链接，如图：<img src="/images/hexo/https.png" alt=""></h5><ul>
<li><h5 id="4、上传项目：右键输入命令：hexo-d-d即deploy，部署"><a href="#4、上传项目：右键输入命令：hexo-d-d即deploy，部署" class="headerlink" title="4、上传项目：右键输入命令：hexo d  (d即deploy，部署)"></a>4、上传项目：右键输入命令：<code>hexo d</code>  (d即deploy，部署)</h5><h5 id="部署成功后返回："><a href="#部署成功后返回：" class="headerlink" title="部署成功后返回："></a>部署成功后返回：<img src="/images/hexo/back.png" alt=""></h5><h5 id="部署的过程中可能要输入你的账号密码"><a href="#部署的过程中可能要输入你的账号密码" class="headerlink" title="部署的过程中可能要输入你的账号密码"></a>部署的过程中可能要输入你的账号密码</h5></li>
</ul>
<h3 id="四、开启pages"><a href="#四、开启pages" class="headerlink" title="四、开启pages"></a>四、开启pages</h3><ul>
<li><h5 id="如图所示："><a href="#如图所示：" class="headerlink" title="如图所示："></a>如图所示：<img src="/images/hexo/pages.png" alt=""><img src="/images/hexo/qidong.png" alt=""><img src="/images/hexo/wangzhan.png" alt=""></h5></li>
</ul>
<h3 id="五、重新部署及一些问题"><a href="#五、重新部署及一些问题" class="headerlink" title="五、重新部署及一些问题"></a>五、重新部署及一些问题</h3><ul>
<li><h5 id="1、重新部署时建议输入指令，建议每次都这样（清除、生成、部署）：hexo-clean-amp-amp-hexo-g-amp-amp-hexo-d"><a href="#1、重新部署时建议输入指令，建议每次都这样（清除、生成、部署）：hexo-clean-amp-amp-hexo-g-amp-amp-hexo-d" class="headerlink" title="1、重新部署时建议输入指令，建议每次都这样（清除、生成、部署）：hexo clean &amp;&amp; hexo g &amp;&amp; hexo d"></a>1、重新部署时建议输入指令，建议每次都这样（清除、生成、部署）：<code>hexo clean &amp;&amp; hexo g &amp;&amp; hexo d</code></h5></li>
<li><h5 id="2、配置文件要严格按照书写规范-type、repo后要跟一个空格，其它的最好也这样-："><a href="#2、配置文件要严格按照书写规范-type、repo后要跟一个空格，其它的最好也这样-：" class="headerlink" title="2、配置文件要严格按照书写规范(type、repo后要跟一个空格，其它的最好也这样)："></a>2、配置文件要严格按照书写规范(type、repo后要跟一个空格，其它的最好也这样)：</h5><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">deploy:</span><br><span class="line">    type: git</span><br><span class="line">    repo: https://gitee.com/tilin/tilin.git</span><br></pre></td></tr></table></figure>
</li>
<li><h5 id="3、部署命令hexo-s-后报错：ERROR-Deployer-not-found-git"><a href="#3、部署命令hexo-s-后报错：ERROR-Deployer-not-found-git" class="headerlink" title="3、部署命令hexo s 后报错：ERROR Deployer not found: git"></a>3、部署命令hexo s 后报错：<code>ERROR Deployer not found: git</code></h5><p><strong>这是因为你还没有安装hexo-deployer-git插件（Hexo 3.0以上版本默认是未安装的）。因此你需要手动安装：</strong></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">npm install hexo-deployer-git --save  # 安装此插件</span><br><span class="line">hexo d  # 安装完成后重新输入部署命令，则成功部署</span><br></pre></td></tr></table></figure>
</li>
<li><h5 id="4、修改好了之后，hexo-s-没有变化：执行一遍命令-hexo-clean-amp-amp-hexo-g-amp-amp-hexo-s，若清除缓存等还不行，直接-hexo-clean-amp-amp-hexo-g-amp-amp-hexo-d-是有点麻烦，通常都是好的，hexo-s-会监视文件变动并自动更新，无须重启服务器。"><a href="#4、修改好了之后，hexo-s-没有变化：执行一遍命令-hexo-clean-amp-amp-hexo-g-amp-amp-hexo-s，若清除缓存等还不行，直接-hexo-clean-amp-amp-hexo-g-amp-amp-hexo-d-是有点麻烦，通常都是好的，hexo-s-会监视文件变动并自动更新，无须重启服务器。" class="headerlink" title="4、修改好了之后，hexo s 没有变化：执行一遍命令 hexo clean &amp;&amp; hexo g &amp;&amp; hexo s，若清除缓存等还不行，直接 hexo clean &amp;&amp; hexo g &amp;&amp; hexo d 是有点麻烦，通常都是好的，hexo s 会监视文件变动并自动更新，无须重启服务器。"></a>4、修改好了之后，hexo s 没有变化：执行一遍命令 <code>hexo clean &amp;&amp; hexo g &amp;&amp; hexo s</code>，若清除缓存等还不行，直接 <code>hexo clean &amp;&amp; hexo g &amp;&amp; hexo d</code> 是有点麻烦，通常都是好的，hexo s 会监视文件变动并自动更新，无须重启服务器。</h5></li>
<li><h5 id="此外，另附Hexo之NexT主题的配置及遇到的问题，希望解决你的问题"><a href="#此外，另附Hexo之NexT主题的配置及遇到的问题，希望解决你的问题" class="headerlink" title="此外，另附Hexo之NexT主题的配置及遇到的问题，希望解决你的问题"></a>此外，另附<a href="https://blog.csdn.net/u012195214/article/details/79204088" target="_blank" rel="noopener">Hexo之NexT主题的配置及遇到的问题</a>，希望解决你的问题</h5></li>
</ul>
<h3 id="以上就是简单的hexo部署到gitee-若你的hexo博客搭建失败、报错等等请静下心来找问题和解答的方案吧，我也是折腾了好久！"><a href="#以上就是简单的hexo部署到gitee-若你的hexo博客搭建失败、报错等等请静下心来找问题和解答的方案吧，我也是折腾了好久！" class="headerlink" title="以上就是简单的hexo部署到gitee,若你的hexo博客搭建失败、报错等等请静下心来找问题和解答的方案吧，我也是折腾了好久！"></a>以上就是简单的hexo部署到gitee,若你的hexo博客搭建失败、报错等等请静下心来找问题和解答的方案吧，我也是折腾了好久！</h3><h3 id="要是觉得不够，请看下一篇：hexo切换主题及其配置"><a href="#要是觉得不够，请看下一篇：hexo切换主题及其配置" class="headerlink" title="要是觉得不够，请看下一篇：hexo切换主题及其配置"></a>要是觉得不够，请看下一篇：<a href="https://tilin.gitee.io/2018/08/04/hexo_options/" target="_blank" rel="noopener">hexo切换主题及其配置</a></h3><h3 id="附："><a href="#附：" class="headerlink" title="附："></a>附：</h3><ul>
<li><strong><a href="https://blog.csdn.net/qq_26975307/article/details/62447489" target="_blank" rel="noopener">hexo常用命令笔记</a></strong></li>
<li><strong><a href="https://www.jianshu.com/p/b5cafa704613" target="_blank" rel="noopener">hexo+码云搭建个人免费博客</a></strong></li>
</ul>
<h2 id="Thank-you"><a href="#Thank-you" class="headerlink" title="Thank you~"></a>Thank you~</h2>
    </div>
</article>


<div id="comments-template"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script>
	if(!window.commentConfig) {
      window.commentConfig = {}
      window.commentConfig.title = '运用码云搭建hexo博客（详细）'
    }
</script>

                </div>
                <aside class="col-md-4 gal-left" id="sidebar">
    <!-- 此为sidebar的搜索框, 非搜索结果页面 -->
<aside id="sidebar-search">
    <div class="search hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <form class="form-inline clearfix" id="search-form" method="get"
              action="/search/index.html">
            <input type="text" name="s" class="form-control" id="searchInput" placeholder="搜索文章~">
            <button class="btn btn-danger btn-gal" type="submit">
                <i class="fa fa-search"></i>
            </button>
        </form>
    </div>
</aside>
    <aside id="sidebar-author">
    <div class="panel panel-gal" data-aos="flip-right" data-aos-duration="3000">
        <div class="panel-heading" style="text-align: center">
            <i class="fa fa-quote-left"></i>
            二口丝连连二口，十八相与与十八
            <i class="fa fa-quote-right"></i>
        </div>
        <div class="author-panel text-center">
            <img src="/imgs/avatar.jpg" width="140" height="140"
                 alt="个人头像" class="author-image">
            <p class="author-description"><h3 style="text-decoration:underline;"><p>一花一草一世界</p>
</h3></p>
        </div>
    </div>
</aside>
    
    <aside id="sidebar-recent_comments">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-comments"></i>
            最新评论
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush"></ul>
    </div>
</aside>
    
    <!-- 要配置好leancloud才能开启此小工具 -->
    
    
    <aside id="sidebar-recent_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            近期文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/11/14/javascript/js_copy/">JS复制选中的内容</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/11/13/audio video/mp4_play/">MP4网页播放器</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/11/13/html css/underlineStyle/">设置下划线样式</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/website/learning_website/">学习网站 学习社区</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/web/angular_upgrade/">AngularJs+Bootstrap搭建首页导航路由（升级）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/vue/vue_cli/">Vue-cli脚手架工具搭建项目（详细）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/web/angular/">AngularJs+Bootstrap搭建首页导航路由</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/vue/vue_babel/">Vue项目引入的一些包</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/tools/tools/">电脑实用的一些工具软件</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/plugins/cool-plugins/">炫酷特效插件</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="sidebar-rand_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            随机文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/audio video/audio_video/">音频、视频特别注意</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/funny/chat_robot/">聊天机器人</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/hexo/hexo_show/">hexo博客添加点击出现桃心效果 ❤❤❤</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/html css/base2/">HTML+CSS基础（三）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/markdown/markdown/">markdown基本语法</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/more/game_video/">一些绚丽震撼的游戏CG</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/plugins/cool-plugins/">炫酷特效插件</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/tools/tools/">电脑实用的一些工具软件</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/website/learning_website/">学习网站 学习社区</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/03/05/web/angular_upgrade/">AngularJs+Bootstrap搭建首页导航路由（升级）</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="gal-sets">
        <div class="panel panel-gal hidden-xs" data-aos="fade-up" data-aos-duration="2000">
            <ul class="nav nav-pills pills-gal">
                <li class="">
                    <a href="/2019/03/05/hexo/hexo/index.html#sidebar-tags" data-toggle="tab" id="tags-tab">热门标签</a>
                </li>
                <li class="">
                    <a href="/2019/03/05/hexo/hexo/index.html#sidebar-friend-links" data-toggle="tab" id="friend-links-tab">友情链接</a>
                </li>
                <li class="">
                    <a href="/2019/03/05/hexo/hexo/index.html#sidebar-links" data-toggle="tab" id="links-tab">个人链接</a>
                </li>
            </ul>
            <div class="tab-content">
                <div class="cloud-tags tab-pane nav bs-sidenav fade" id="sidebar-tags">
    
    <a href="/tags/audio-video/" style="font-size: 17.1996344699958px;" class="tag-cloud-link">audio video</a>
    
    <a href="/tags/funny/" style="font-size: 14.804715124675159px;" class="tag-cloud-link">funny</a>
    
    <a href="/tags/hexo/" style="font-size: 9.957491140803205px;" class="tag-cloud-link">hexo</a>
    
    <a href="/tags/html-css/" style="font-size: 11.785927162539743px;" class="tag-cloud-link">html css</a>
    
    <a href="/tags/markdown/" style="font-size: 10.285960609623018px;" class="tag-cloud-link">markdown</a>
    
    <a href="/tags/javascript/" style="font-size: 19.103821111183578px;" class="tag-cloud-link">javascript</a>
    
    <a href="/tags/琐记/" style="font-size: 13.449511515301618px;" class="tag-cloud-link">琐记</a>
    
    <a href="/tags/特效插件/" style="font-size: 18.19865310860591px;" class="tag-cloud-link">特效插件</a>
    
    <a href="/tags/实用插件/" style="font-size: 12.494425219654396px;" class="tag-cloud-link">实用插件</a>
    
    <a href="/tags/vue/" style="font-size: 11.549396234352555px;" class="tag-cloud-link">vue</a>
    
    <a href="/tags/tools/" style="font-size: 13.122986993252086px;" class="tag-cloud-link">tools</a>
    
    <a href="/tags/web/" style="font-size: 14.140078030857573px;" class="tag-cloud-link">web</a>
    
    <a href="/tags/学习网站-学习社区/" style="font-size: 9.559879505660987px;" class="tag-cloud-link">学习网站 学习社区</a>
    
</div>
                <div class="friend-links tab-pane nav bs-sidenav fade" id="sidebar-friend-links">
    
    <li>
        <a href="https://hexo.io/zh-cn/" target="_blank">Hexo</a>
    </li>
    
    <li>
        <a href="https://www.npmjs.com/" target="_blank">npm</a>
    </li>
    
    <li>
        <a href="https://user.qzone.qq.com/3287108795?source=namecardhoverqzone" target="_blank">个人空间（非好友可能看不了）</a>
    </li>
    
</div>
                <div class="links tab-pane nav bs-sidenav fade" id="sidebar-links">
    
    <li>
        <a href="https://github.com/tianrenlin/" target="_blank">Github</a>
    </li>
    
    <li>
        <a href="https://gitee.com/tilin" target="_blank">Gitee（码云）</a>
    </li>
    
    <li>
        <a href="https://segmentfault.com/u/tianlin" target="_blank">SegmentFault（思否）</a>
    </li>
    
</div>
            </div>
        </div>
    </aside>
    
</aside>
            </div>
        </div>
    </div>
    <footer id="gal-footer">
    <div class="container">
        Copyright © 2018 <a href="https://tilin.gitee.io/about/" style="color:#39C1D8;">Tlin</a> Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.&nbsp;
    </div>
</footer>

<!-- 回到顶端 -->
<div id="gal-gotop" title="回到顶部">
    <i class="fa fa-angle-up"></i>
</div>
<script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2dw/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"model":null,"use":"live2d-widget-model-z16","mobile":{"show":false},"dialog":{"enable":true},"log":false});</script></body>
<script src="/js/activate-power-mode.js"></script>
<script>

    // 配置highslide
	hs.graphicsDir = '/js/highslide/graphics/'
    hs.outlineType = "rounded-white";
    hs.dimmingOpacity = 0.8;
    hs.outlineWhileAnimating = true;
    hs.showCredits = false;
    hs.captionEval = "this.thumb.alt";
    hs.numberPosition = "caption";
    hs.align = "center";
    hs.transitions = ["expand", "crossfade"];
    hs.lang.number = '共%2张图, 当前是第%1张';
    hs.addSlideshow({
      interval: 5000,
      repeat: true,
      useControls: true,
      fixedControls: "fit",
      overlayOptions: {
        opacity: 0.75,
        position: "bottom center",
        hideOnMouseOut: true
      }
    })

    // 初始化aos
    AOS.init({
      duration: 1000,
      delay: 0,
      easing: 'ease-out-back'
    });

</script>
<script>
	POWERMODE.colorful = 'true';    // make power mode colorful
	POWERMODE.shake = 'true';       // turn off shake
	// TODO 这里根据具体情况修改
	document.body.addEventListener('input', POWERMODE);
</script>
<script>
    window.slideConfig = {
      prefix: '/imgs/slide/background',
      ext: 'jpg',
      maxCount: '6'
    }
</script>
<script src="/js/hs.js"></script>
<script src="/js/blog.js"></script>

<script src="/js/oni.js"></script>



<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
    if(window.commentConfig) {
      window.commentConfig.id = 'Tue Mar 05 2019 23:00:21 GMT+0800'
      window.commentConfig.owner = 'tianrenlin'
      window.commentConfig.repo = 'tilin_comments'
      window.commentConfig.client_id = 'a1c64988f8052e784d45'
      window.commentConfig.client_secret = 'a7eb4fff9e6c2d418ae487de38e3153bfe17c06c'
      window.commentConfig.redirect_uri = ''
    } else {
      window.commentConfig = {
      	id: 'Tue Mar 05 2019 23:00:21 GMT+0800',
        owner: 'tianrenlin',
        repo: 'tilin_comments',
        client_id: 'a1c64988f8052e784d45',
        client_secret: 'a7eb4fff9e6c2d418ae487de38e3153bfe17c06c',
        redirect_uri: ''
      }
    }
</script>
<script src="/js/comment/gitment.js"></script>

</html>
<script>
    !function(e,t,a){function n(){c(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),o(),r()}function r(){for(var e=0;e<d.length;e++)d[e].alpha<=0?(t.body.removeChild(d[e].el),d.splice(e,1)):(d[e].y--,d[e].scale+=.004,d[e].alpha-=.013,d[e].el.style.cssText="left:"+d[e].x+"px;top:"+d[e].y+"px;opacity:"+d[e].alpha+";transform:scale("+d[e].scale+","+d[e].scale+") rotate(45deg);background:"+d[e].color+";z-index:99999");requestAnimationFrame(r)}function o(){var t="function"==typeof e.onclick&&e.onclick;e.onclick=function(e){t&&t(),i(e)}}function i(e){var a=t.createElement("div");a.className="heart",d.push({el:a,x:e.clientX-5,y:e.clientY-5,scale:1,alpha:1,color:s()}),t.body.appendChild(a)}function c(e){var a=t.createElement("style");a.type="text/css";try{a.appendChild(t.createTextNode(e))}catch(t){a.styleSheet.cssText=e}t.getElementsByTagName("head")[0].appendChild(a)}function s(){return"rgb("+~~(255*Math.random())+","+~~(255*Math.random())+","+~~(255*Math.random())+")"}var d=[];e.requestAnimationFrame=function(){return e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||e.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)}}(),n()}(window,document);
</script>